package com.cybertron.ironhide.spider.plugin.impl;

import com.cybertron.ironhide.spider.SpiderListener;
import com.cybertron.ironhide.spider.plugin.TargetPoint;
import com.cybertron.ironhide.spider.plugin.util.Util;
import com.cybertron.ironhide.spider.task.Task;
import com.cybertron.ironhide.spider.xml.Site;
import com.cybertron.ironhide.spider.xml.Target;

public class TargetPointImpl implements TargetPoint {

	public void init(Site site, SpiderListener listener) {
	}

	public void destroy() {
	}

	public synchronized Target confirmTarget(Task task) throws Exception {
		return Util.matchTarget(task);
	}

}
